<h3>Account Information</h3>

<table>
  <tr>
    <td>First name:</td>
    <td>
<%--      <stripes:text name="account.firstName" />--%>
      <input type="text" name="account.firstName">
    </td>
  </tr>
  <tr>
    <td>Last name:</td>
    <td>
<%--      <stripes:text name="account.lastName" />--%>
      <input type="text" name="account.lastName">
    </td>
  </tr>
  <tr>
    <td>Email:</td>
    <td>
      <%--<stripes:text size="40" name="account.email" />--%>
      <input type="text" name="account.email" size="40">
    </td>
  </tr>
  <tr>
    <td>Phone:</td>
    <td>
<%--      <stripes:text name="account.phone" />--%>
      <input type="text" name="account.phone">
    </td>
  </tr>
  <tr>
    <td>Address 1:</td>
    <td>
      <stripes:text size="40" name="account.address1" />
      <input type="text" name="account.address1" size="40">
    </td>
  </tr>
  <tr>
    <td>Address 2:</td>
    <td>
<%--      <stripes:text size="40" name="account.address2" />--%>
      <input type="text" name="account.address2" size="40">
    </td>
  </tr>
  <tr>
    <td>City:</td>
    <td>
<%--      <stripes:text name="account.city" />--%>
      <input type="text" name="account.city">
    </td>
  </tr>
  <tr>
    <td>State:</td>
    <td>
<%--      <stripes:text size="4" name="account.state" />--%>
      <input type="text" name="account.state" size="4">
    </td>
  </tr>
  <tr>
    <td>Zip:</td>
    <td>
      <%--<stripes:text size="10" name="account.zip" />--%>
      <%-- zip指的是邮编 --%>
      <input type="text" name="account.zip" size="10">
    </td>
  </tr>
  <tr>
    <td>Country:</td>
    <td>
      <stripes:text size="15" name="account.country" />
      <input type="text" name="account.country" size="15">
    </td>
  </tr>
</table>

<h3>Profile Information</h3>

<table>
<%-- 先删掉Language选择 --%>
  <<tr>
    <td>Language Preference:</td>
    <td>
      <select name="account.languagePreference">
        <c:forEach var="language" items="${sessionScope.languages}">
          <option value="${language.languageId}">${language.languages}</option>
        </c:forEach>
      </select>
    </td>
  </tr>
  <tr>
    <td>Favourite Category:</td>
    <td>
      <select name="account.favouriteCategoryId">
        <c:forEach var="category" items="${sessionScope.categories}">
          <option value="${category.categoryId}">${category.name}</option>
        </c:forEach>
      </select>
    </td>
  </tr>
  <tr>
    <td>Enable MyList</td>
    <td><input type="checkbox" name="account.listOption" value="1"/></td>
  </tr>
  <tr>
    <td>Enable MyBanner</td>
    <td><input type="checkbox" name="account.bannerOption" value="1"/></td>
  </tr>
</table>

<%--<table>
  <tr>
    <td>Language Preference:</td>
    <td>
      <stripes:select name="account.languagePreference">
      <stripes:options-collection collection="${sessionScope.languages}" />
    </stripes:select>
    </td>
  </tr>
  <tr>
    <td>Favourite Category:</td>
    <td><stripes:select name="account.favouriteCategoryId">
      <stripes:options-collection collection="${sessionScope.categories}" />
    </stripes:select></td>
  </tr>
  <tr>
    <td>Enable MyList</td>
    <td><stripes:checkbox name="account.listOption" /></td>
  </tr>
  <tr>
    <td>Enable MyBanner</td>
    <td><stripes:checkbox name="account.bannerOption" /></td>
  </tr>

</table>--%>
